#!/usr/bin/env python
import pygtk
pygtk.require('2.0')
import gtk

class Base:
        def __init__(self):
                self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
                self.button = gtk.Button('Hello Master')
                self.window.add(self.button)
                self.window.show()
                self.button.show()
                self.button.connect("clicked", self.label_change, None)

        def label_change(self, widget, data=None):
                self.button.set_label('How may I help you sir?')


        def main(self):
                gtk.main()

print __name__
if __name__ == "__main__":
        base=Base()
        base.main()
